﻿@{
    ViewBag.Title = "Index";
}
<script type="text/javascript">
    function Exam() {
        $.ajax({
            type: "POST",
            url: '@Url.Action("Exam")',
            data: {},
            success: function (msg) {
                $("#Info").html(msg);
            }
        });
    }
    function History() {
        $.ajax({
            type: "POST",
            url: '@Url.Action("History")',
            data: {},
            success: function (msg) {
                $("#Info").html(msg);
            }
        });
    }
    $(function () {
        $("a", ".menu").button();
    });
</script>
<div id="management">
    <div class="navSecond">
        <div id="navSecondTitle">
        </div>
        <div class="menu">
            <a class="menuButton" href="#">用户信息</a>
            <div id="line">
            </div>
            <a class="menuButton" onclick="Exam()" href="#">进入考试</a>
            <div id="line">
            </div>
            <a class="menuButton" onclick="History()" href="#">历史成绩</a>
        </div>
        <div id="line">
        </div>
    </div>
    <div id="Info">
    </div>
</div>
